<?php if (!defined('NOVA_RUN')) die('You can\'t access this file directly!'); ?><!DOCTYPE HTML>
<html>
	<head>
		<title><?php echo @$this->title; ?></title>
		<meta charset="utf-8" />
		<meta name="description" content="<?php echo @$this->description; ?>" />
		<meta name="keywords" content="<?php echo @$this->keywords; ?>" />
<!--
		<link rel="stylesheet" type="text/css" media="screen" href="<?php echo @$this->url . 'css/style.css'; ?>" />
		<link rel="stylesheet" type="text/css" media="screen" href="<?php echo @$this->url . 'css/jquery-ui.css'; ?>" />
-->	
		<style>
			a, a:visited {color:blue;}
		</style>
		<script type="text/javascript" src="<?php echo URL . 'js/jquery.js'; ?>"></script>
	</head>
	<body>
		<div style="margin-bottom:50px;">
			<div style="margin-bottom:20px;">
				<h1><?php echo setting('forum_title'); ?></h1>
				<i><?php echo setting('forum_description'); ?></i>
			</div>
			<a href="<?php echo make_link(); ?>"><?php echo $this->lang->get('forum', 'home'); ?></a><br />
		<?php if ($this->user->info['user_id'] > 0): ?>
			<?php if ($this->user->permissions['admincp_access'] == 1): ?>
				<a href="<?php echo make_admin_link(); ?>"><?php echo $this->lang->get('forum', 'admin_cp'); ?></a><br />	
			<?php endif; ?>
			<a href="<?php echo make_link('auth', 'logout', array($this->user->logout_hash)); ?>"><?php echo $this->lang->get('forum', 'logout'); ?></a>
		<?php else: ?>
			<a href="<?php echo make_link('auth'); ?>" /><?php echo $this->lang->get('forum', 'login'); ?></a><br />
			<a href="<?php echo make_link('register'); ?>" /><?php echo $this->lang->get('forum', 'register'); ?></a>
		<?php endif; ?>
		</div>
